//
//  SEGBasicBussinessNotificationDefine.h
//  SEGBasicBussiness
//
//  Created by 刘山 on 2018/3/23.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import <Foundation/Foundation.h>
/**
 4.7.0新增，用于存储，kServicenbrBaseInfo 接口下发的数据
 */
#define SEGUPropertyNotificationUserDefaults @"UPropertyNotificationUserDefaults"
/**
 4.7.0新增，用于刷新首页菜单控件(30001)的数据
 */
#define SEGConstUPropertyUserDefaults [NSString stringWithFormat:@"%@,%@,ConstUProperty", kAccountUserID, kAccountCommunityID]
#define SEGConstUPropertyNotification @"ConstUPropertyNotificationViewNotification"
/**
100700：服务工单，用于刷新红点
*/
#define SEGConstOrderInputUserDefaults [NSString stringWithFormat:@"%@,%@,OrderInput", kAccountUserID, kAccountCommunityID]

//自助洗车结果
#define kWashCarResult @"WashCarResult"
//收件列表 和 发件列表
#define REQUEST_RECEIVE_EXPRESS_LIST_RESPONSE @"REQUEST_RECEIVE_EXPRESS_LIST_RESPONSE"
#define REQUEST_RECEIVE_EXPRESS_LIST_RESPONSE_UI @"REQUEST_RECEIVE_EXPRESS_LIST_RESPONSE_UI"

UIKIT_EXTERN NSString * OldPGCUITableViewScrollEnabledNotification;
@interface SEGBasicBussinessNotificationDefine : NSObject

// 参与话题后刷新列表
#define SEGAttendTopicFinishedNotification @"SEGAttendTopicFinishedNotification"

// 发布物品完成后通知集市首页切换到对应列表并刷新
#define SEGPublishGoodsFinishedNotification @"SEGPublishGoodsFinishedNotification"
// 编辑集市详情通知
#define SEGEditedGoodsFinishedNotification @"SEGEditedGoodsFinishedNotification"

// 举报完成后通知列表刷新
#define SEGReportFinishedNotification @"SEGReportFinishedNotification"
#define SEGReportPGCFinishedNotification @"SEGReportPGCFinishedNotification"

// 删除完成后通知列表刷新
#define SEGDeletaFinishedNotification @"SEGDeletaFinishedNotification"
// 集市出手完成后通知列表刷新
#define SEGMarketSaleFinishedNotification @"SEGMarketSaleFinishedNotification"

// 集市发布按钮相关通知
#define SEGPublishButtonShowNotification @"SEGPublishButtonShowNotification"
#define SEGPublishButtonHiddenNotification @"SEGPublishButtonHiddenNotification"
#define SEGPublishButtonClickNotification @"SEGPublishButtonClickNotification"

// 邻里圈切换范围并刷新
#define SEGNeighbourChangeScopeNotification @"SEGNeighbourChangeScopeNotification"

// 资讯兼容旧数据库 添加image新字段后请求网络数据更新
#define SEGNewsAddImageNotification @"SEGNewsAddImageNotification"

// 从JS打开应用，从主视图打开指定界面
#define SEGOpenFromJSPushToViewControllerNotification @"SEGOpenFromJSPushToViewControllerNotification"

// 活动抽奖推送
#define SEGActivityLotteryNotification @"SEGActivityLotteryNotification"

// 刷新”福利社“
#define SEGRefreshActivitySignVCNotification @"SEGRefreshActivitySignVCNotification"

// 触发类活动跳转到社区主界面通知
#define SEGActivityTriggerTONewPreferrendRootVCNotification @"SEGActivityTriggerTONewPreferrendRootVCNotification"

// 触发类活动跳转到开门界面通知
#define SEGActivityTriggerTONewDoorVCNotification @"SEGActivityTriggerTONewDoorVCNotification"
// 退回到根视图
#define SEGPopToRootViewControllerNotification @"SEGPopToRootViewControllerNotification"

// 选择完房屋信息
#define SEGSelectedHouseInfoNotification @"SEGSelectedHouseInfoNotification"




#pragma mark - 推送、透传、红点相关通知
//推送跳转详情通知
#define PUSH_DETAIL @"PUSH_DETAIL" //推送详情跳转

#define PUSH_PREFERRED_RED_DOT @"PUSH_PREFERRED_RED_DOT" //推送服务界面红点

//顶部消息推送栏
#define ON_PUSH_ORDER_MESSAGE @"ON_PUSH_ORDER_MESSAGE"
//接收到消息,通知界面刷新
#define RECEIVE_MESSAGE_UI @"RECEIVE_MESSAGE_UI"

//添加红点通知 4.4.0新增
#define SEGAddReddotNotification @"SEGAddReddotNotification"
//隐藏红点通知 4.4.0新增
#define SEGHiddenRedDotNotification @"SEGHiddenRedDotNotification"


//获取发布范围列表
#define NOTIFICATION_AREA_LIST @"NOTIFICATION_AREA_LIST"

#define NOTIFICATION_PAY_RECORD_LIST @"NOTIFICATION_PAY_RECORD_LIST"


#define SEGFreshItemNotification @"FreshItemNotification"
//刷新ugc
#define SEGFreshUGCItemNotification @"SEGFreshUGCItemNotification"
//参加活动成功 刷新列表
#define REQUEST_ACTIVITY_JOIN_SUCCESS @"REQUEST_ACTIVITY_JOIN_SUCCESS"
//发布或修改活动成功 刷新列表
#define REQUEST_ACTIVITY_CREATE_SUCCESS @"REQUEST_ACTIVITY_CREATE_SUCCESS"


//分享成功
#define NOTIFICATION_SHARESUCCEED @"NOTIFICATION_SHARESUCCEED"

#define NOTI_SEGORDERMYSERVICE_LIST_REFRESH @"SEGORDERMYSERVICE_LIST_REFRESH"

//请求租赁我的放盘响应
#define REQUEST_HOUSERENTAL_MYSALE @"REQUEST_HOUSERENTAL_MYSALE"
#define REQUEST_HOUSERENTAL_MYAPPOINT @"REQUEST_HOUSERENTAL_MYAPPOINT"

//卡包管理
#define NOTIFICATION_MYCARD_LIST @"NOTIFICATION_MYCARD_LIST"

// 修改个人资料后刷新
#define SEGEditUserInfoFinishedNotification @"SEGEditUserInfoFinishedNotification"
//刷新用户信息
#define SEGRefreshUserInfoFinishedNotification @"SEGRefreshUserInfoFinishedNotification"
/**
 邻里圈有新消息 4.9.3新增
 */
#define SEGNeighbourNewsNotification @"SEGNeighbourNewsNotification"
// 区分用户, 小区
#define SEGNeighbourNewsUserDefaults [NSString stringWithFormat:@"%@+%@",kAccountUserID,kAccountCommunityID]
// （v4.9.10）新用户是否发布
#define SEGNeighbourPublishUserDefaults [NSString stringWithFormat:@"seg_publish_%@", kAccountUserID]

#define SEGRefreshMessageRedDotNotification @"SEGRefreshMessageRedDotNotification"
// 首页消息入口红点
#define SEGMessageRedDotUserDefaults @"SEGMessageRedDotUserDefaults"

#pragma mark - UserDefault的Key
//rescode对应的菜单父子关系 4.4.0红点重构版本新增
#define kRescodeAndSettingIdsKey @"RescodeAndSettingIdIdsKey"
//需要打红点的菜单settingids 4.4.0红点重构版本新增
#define kRedDotSettingIdsKey @"RedDotSettingIdsKey"
//需要打红点的我的服务列表的serviceId 4.4.0红点重构版本新增
#define KMyServiceIdsKey @"MyServiceIdsKey"
//暂时没找到对应ID的rescode，需要后续刷新 4.4.0红点重构版本新增
#define KNotFoundRescodesKey @"NotFoundRescodesKey"

//推送tag
#define kJPUSHTagsKey @"JPUSHTags"

//是否播放开门语音提示
#define kPlayOpenDoorSoundKey @"shouldPlayOpenDoorSound"

//自助洗车结果
#define kWashCarResult @"WashCarResult"

//活动抽奖信息
#define kActivityLotteryInfoArray @"ActivityLotteryInfoArray"
//活动抽奖信息(根据用户区分)
#define kActivityLotteryInfoArrayNew @"ActivityLotteryInfoArrayNew"

//活动签到
#define kActivitySign @"ActivitySign"


//邻里圈不感兴趣的内容
#define kNeighborhoodNotLikeArray @"NeighborhoodNotLikeArray"
//邻里圈举报过的内容
#define kNeighborhoodReportedArray @"NeighborhoodReportedArray"
//PGC举报过的评论内容
#define kPGCReportedArray @"PGCReportedArray"

//PGC态度模式操作指引是否展示过
#define kHasPGCAttitudeGuideShow @"HasPGCAttitudeGuideShow"
//PGC态度模式帮助指引是否展示过
#define kHasPGCAttitudeHelpShow @"kHasPGCAttitudeHelpShow"

//邻里圈数据范围(值不变，跟老版本保持一致)
#define kNeighbourScopeType @"SHscopeType"

//集市数据范围 4.6.0新增
#define kMarketScopeType @"MarketScopeType"

//提交搜索小区失败用户反馈内容
#define kSumbitSearchCommunityAdvice @"SumbitSearchCommunityAdvice"

//首页点击邻里头条进入邻里圈的第一条数据信息
#define kNeighbourFirstItemInfoKey @"NeighbourFirstItemInfoKey"
#define kSubmitTokenIsNewUserRegisterKey @"SubmitTokenIsNewUserRegisterKey"
#define kSubmitTokenIsLoginKey @"SubmitTokenIsLoginKey"

//消息中心操作指引是否展示过
#define kHasMessageMenuGuideShow @"HasMessageMenuGuideShow"

//邻里圈操作指引是否展示过 4.9.3修改
#define kHasNeighborGuideShow @"HasNeighborGuideShow1"

//分享界面操作指引是否展示过 4.9.3新增
#define kHasFenXiangGuideShow @"HasMessageMenuGuideShow"

// 5.2.0版本新增：忘记密码成功通知
#define kForgerPasswordSuccessNotification  @"SEGForgerPasswordSuccessNotification"

@end
